//!@Author: DengLibin
//!@Date: Create in 2025-05-08 11:52:27
//!@Description: 
use derive_builder::Builder;
use proc_macro::table_name;
use proc_macro::GetFieldNames;
use proc_macro::HaveFieldType;
use proc_macro::StructToMap;
use serde::{Deserialize, Serialize};
use sqlx::FromRow;



use my_trait::MustHaveTableName;
use my_trait::MustHaveFieldType;
use my_trait::Struct2Map;

#[derive(Debug, FromRow, Serialize, Deserialize)]
#[derive(Builder, GetFieldNames, StructToMap, HaveFieldType)]



#[table_name("dictionary_info")]
pub struct DictionaryInfo {
    pub id: i64,
    pub parent_id: i64,
    pub name: String,
    pub tree_num: String
}
